import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import javax.swing.event.*;
import java.util.*;

public class InstrumentPanel extends JPanel {
    private JSClient client;
    private String type;
    
    
    public InstrumentPanel(JSClient client) {
        this.client = client;
        PianoInterface piano = new PianoInterface(client);
        InstrumentSelectorPanel instrumentSelectorPanel = new InstrumentSelectorPanel(client);
        this.add(instrumentSelectorPanel, BorderLayout.WEST);
        this.add(piano, BorderLayout.EAST);
        
    }
    
    public void switchInstrument(String type) {
        if(type.equals("piano")) {
            
        }
    }
}
